package com.wisewin.circle.dao;

import com.wisewin.circle.entity.db.GroupCommentDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.*;

@Component
public interface GroupCommentDAO {

    public void insert(@Param("obj") GroupCommentDO groupCommentDO);

    public GroupCommentDO queryGroupCommentById(Integer commentId);

    public void delete(Integer commentId);

    public void updateHeartNum(Integer commentId);

    public void cancleHeartNum(Integer commentId);

    public List<GroupCommentDO> queryGroupCommentList(Map<String, Object> map);
}
